<h3>Autenticación con:</h3>
<ul>
  <li>
  <?php if(!$sf_user->hasCredential("Facebook")){ ?>
    <a href="<?php echo url_for('@login_with?provider=Facebook') ?>">Login with Facebook</a>
  <?php }else{ ?>
    <a href="<?php echo url_for('@logout_from?provider=Facebook') ?>">Logout from Facebook</a>
  <?php } ?>
  </li>
  <li>
  <?php if(!$sf_user->hasCredential("Google")){ ?>
    <a href="<?php echo url_for('@login_with?provider=Google') ?>">Login with Google</a>
  <?php }else{ ?>
    <a href="<?php echo url_for('@logout_from?provider=Google') ?>">Logout from Google</a>
  <?php } ?>
  </li>
  <li>
  <?php if(!$sf_user->hasCredential("Twitter")){ ?>
    <a href="<?php echo url_for('@login_with?provider=Twitter') ?>">Login with Twitter</a>
  <?php }else{ ?>
    <a href="<?php echo url_for('@logout_from?provider=Twitter') ?>">Logout from Twitter</a>
  <?php } ?>
  </li>
</ul>